<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.solution.admin.order.constants.OrderConstants"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>订单数据</title> 
<%@ include file="/page/include.jsp"%>
<script type="text/javascript" src="<%=basePath%>/statics/js/jquery.select-1.3.6.js"></script>
</head>
<body>
<!-- <div class="pathinfo">
	<p><a href="javascript:void(0);">订单数据</a></p>
</div> -->
<div class="site_wrap11">
	<%-- <div class="site_wrap11_con">
    	<div class="hd"><i></i><span>订单状态</span></div>
        <div class="bd">
        	<div class="col-md-3">
        		<a href="javascript:void(0);" onclick="queryOrderData('<%=OrderConstants.ORDER_STATUS.WAIT_TO_PAY.getCode()%>','','<%=OrderConstants.ORDER_STATUS.WAIT_TO_PAY.getName()%>')">
            		<div class="box_1">
                		<p>
							<strong>
								<img src="${rootPath}/statics/images/index_icon1.png" />
								<em>${orderState.waitToPay.sum }</em>
							</strong>
							<span><%=OrderConstants.ORDER_STATUS.WAIT_TO_PAY.getName()%></span>
						</p>
                	</div>
                	<u></u>
                </a>
            </div>
        	<div class="col-md-3">
        		<a href="javascript:void(0);" onclick="queryOrderData('<%=OrderConstants.ORDER_STATUS.WAIT_TO_APPROVE.getCode()%>','','<%=OrderConstants.ORDER_STATUS.WAIT_TO_APPROVE.getName()%>')">
            		<div class="box_1">
                		<p>
							<strong>
								<img src="${rootPath}/statics/images/index_icon2.png" />
								<em>${orderState.waitToApprove.sum }</em>
							</strong>
							<span><%=OrderConstants.ORDER_STATUS.WAIT_TO_APPROVE.getName()%></span>
						</p>
                	</div>
                	<u></u>
                </a>
            </div>
        	<div class="col-md-3">
        		<a href="javascript:void(0);" onclick="queryOrderData('<%=OrderConstants.ORDER_STATUS.WAIT_TO_SEND.getCode()%>','','<%=OrderConstants.ORDER_STATUS.WAIT_TO_SEND.getName()%>')">
            		<div class="box_1">
                		<p>
							<strong>
								<img src="${rootPath}/statics/images/index_icon3.png" />
								<em>${orderState.waitToSend.sum }</em>
							</strong>
							<span><%=OrderConstants.ORDER_STATUS.WAIT_TO_SEND.getName()%></span>
						</p>
                	</div>
                	<u></u>
                </a>
            </div>
        	<div class="col-md-3">
        		<a href="javascript:void(0);" onclick="queryOrderData('<%=OrderConstants.ORDER_STATUS.WAIT_TO_RECEIVE.getCode()%>','','<%=OrderConstants.ORDER_STATUS.WAIT_TO_RECEIVE.getName()%>')">
            		<div class="box_1">
                		<p>
							<strong>
								<img src="${rootPath}/statics/images/index_icon4.png" />
								<em>${orderState.waitToReceive.sum }</em>
							</strong>
							<span><%=OrderConstants.ORDER_STATUS.WAIT_TO_RECEIVE.getName()%></span>
						</p>
                	</div>
                	<u></u>
                </a>
            </div>
            <input type="hidden" id="orderStatus" value="<%=OrderConstants.ORDER_STATUS.WAIT_TO_PAY.getCode()%>"/>
            <input type="hidden" id="orderStatusName" value="<%=OrderConstants.ORDER_STATUS.WAIT_TO_PAY.getName()%>"/>
        </div>
    </div> --%>
    
</div> 
<div class="site_wrap12">
	<div class="site_wrap12_con">
    	<div class="hd">
        	<div class="title">
        		<i></i>
        		<span>趋势图</span>
        	</div>
        	<div class="dd_nav">
        		<p>
        			<a href="javascript:void(0);" onclick="queryOrderData('','money')" class="current">订单金额</a>
        			<a href="javascript:void(0);" onclick="queryOrderData('','sum')">订单数量</a>
					<input type="hidden" id="type" value="money"/>
        		</p>
        	</div>
            <div class="search_dd">
            	<ul>
                	<li>
						<input id="timeType" type="hidden" value="recent_fifteen_day"/>
                    	<select class="page_selector" id="timeTypeSel" name="timeTypeSel" onchange="timeTypeChange();">
                    		<option value="recent_fifteen_day">最近15天</option>
                    		<option value="current_month">最近一个月</option>
                    		<option value="recent_three_month">最近三个月</option>
                    	</select>
                    </li>
                    <li>
                         <div class="mydate datetime">
                         	<input type="text" id="orderDate" name="orderDate" />
							<input type="hidden" id="startTime" value=""/>
							<input type="hidden" id="endTime" value=""/>
                        	<i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
                        </div>
                    </li>
                    <li>
                    	<input id="btn_export_order_data" type="button" class="inputbtn1" value="导出" />
                    </li>
				</ul>
            </div>
        </div>
        <div class="bd" id="table" style="width: 1600px;height: 500px;" >
        </div>
    </div>
</div>
<script src="${rootPath}/js/order/order_data.js"></script>
<script src="${rootPath}/statics/plugins/echarts/echarts.min.js"></script>
</body>
</html>